Accept decimal block device IDs
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 1 May 2008 15:35:28 +0000 (16:35 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 1 May 2008 15:35:28 +0000 (16:35 +0100)
commit84736d7607c9840cf58d8c094f28594d716515a7
tree56b7454071218282e56244548329a36fbc5a723b
parent1d45c8ef8c7f34aa117b5377368608fa02f73c87
Accept decimal block device IDs

Solaris uses a simple indexing scheme for block devices. Parts of xend
translate them as hexadecimal (such as block-attach), and decimal, or
unconverted, elsewhere (such as block-detach). Harmonise these
interfaces by allowing decimal specifications.

Also allow Solaris-style block device names.

Signed-off-by: John Levon <john.levon@sun.com>
tools/python/xen/util/blkif.py